import request from '@/utils/request'

// 查询住院费用类型表列表
export function listHosptilprice_type(query) {
  return request({
    url: '/hospital/hosptilprice_type/list',
    method: 'get',
    params: query
  })
}


export function ss(query) {
  return request({
    url: '/hospital/hosptilprice_type/list',
    method: 'get',
    params: query
  })
}

// 查询住院费用类型表详细
export function getHosptilprice_type(hosptilpriceTypeid) {
  return request({
    url: '/hospital/hosptilprice_type/' + hosptilpriceTypeid,
    method: 'get'
  })
}

// 新增住院费用类型表
export function addHosptilprice_type(data) {
  return request({
    url: '/hospital/hosptilprice_type',
    method: 'post',
    data: data
  })
}

// 修改住院费用类型表
export function updateHosptilprice_type(data) {
  return request({
    url: '/hospital/hosptilprice_type',
    method: 'put',
    data: data
  })
}

// 删除住院费用类型表
export function delHosptilprice_type(hosptilpriceTypeid) {
  return request({
    url: '/hospital/hosptilprice_type/' + hosptilpriceTypeid,
    method: 'delete'
  })
}
